/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
    padding-bottom: 60px;
}

.header {
    background: linear-gradient(135deg, #87CEFA, #87CEFA);
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.search-box {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 8px 15px;
    align-items: center;
}

.search-box i {
    color: #666;
    margin-right: 8px;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.main-content {
    margin-top: 70px;
    padding: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
}

.nav-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    text-align: center;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tags {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
}

.tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    color: #666;
}

.tag.active {
    background: #87CEFA;
    color: white;
}